# -*- coding: UTF-8 -*-
# ----------用户基本信息----------
phone = ''  # 手机号
password = ''  # 密码
deviceId = 'FCAF7F0B942770A8E87E7DEE9E8A9182'  # 设备id (不懂的话不要动，保持默认)

# ----------邮箱配置----------
# 发件人邮箱
user = ''
# 发件人授权密码
pwd = ''
# 收件人 (若有多个收件人请用英文逗号[,]隔开)
email = ''

# ----------打卡信息 (默认配置，一般不用动)----------
dkk = "是"  # 是否接种疫苗 (是/否)
Test = "绿色"  # 健康码颜色 (绿色/黄色/红色)
jkzt = "否"  # 是否途径/中转/停留境内中高风险等级地区 (是/否)
zzmm22 = "否"  # 近14天您或您的家人是否与无症状病人、确诊病例行程轨迹有过交集 (是/否)

# ----------下面的不要动----------
# 认证信息
token = ""  # 授权后密钥
appKey = ""  # 密钥
sessionId = ""  # 会话id
publicKey = ""  # 公钥
privateKey = ""  # 私钥

# 打卡配置参数
clock_cf = {
    "businessType": "epmpics",
    "method": "submitUpInfo",
    "jsonData": {
        "deptStr": {
            "deptid": "",
            "text": ""
        },
        "areaStr": "",
        "reportdate": "",
        "customerid": "",
        "deptid": "",
        "source": "app",
        "templateid": "pneumonia",
        "stuNo": "",
        "username": "",
        "phonenum": "",
        "userid": "",
        "updatainfo": [
            {"propertyname": "temperature", "value": "36.4"},
            {"propertyname": "symptom", "value": "无症状"},
            {"propertyname": "jkzt", "value": jkzt},
            {"propertyname": "zzmm22", "value": zzmm22},
            {"propertyname": "Test", "value": Test},
            {"propertyname": "dkk", "value": dkk},
            {"propertyname": "ownPhone", "value": phone}
        ],
        "gpsType": 0,
        "token": ""
    }
}

# 登录配置参数
login_cf = {
    "appCode": "M002",
    "deviceId": deviceId,
    "netWork": "wifi",
    "password": "",
    "qudao": "guanwang",
    "requestMethod": "cam_iface46/loginnew.action",
    "shebeixinghao": "K20 Pro",
    "systemType": "android",
    "telephoneInfo": "5.1.1",
    "telephoneModel": "Redmi K20 Pro",
    "type": "1",
    "userName": phone,
    "wanxiaoVersion": 10462101,
    "yunyingshang": "07"
}

# 获取验证码配置
sms_cf = {
    'action': "registAndLogin",
    'deviceId': deviceId,
    'mobile': phone,
    'requestMethod': "cam_iface46/gainMatrixCaptcha.action",
    'type': "sms"
}

# 验证码登录配置参数
sms_login_cf = {
    'appCode': "M002",
    'deviceId': deviceId,
    'netWork': "wifi",
    'qudao': "guanwang",
    'requestMethod': "cam_iface46/registerUsersByTelAndLoginNew.action",
    'shebeixinghao': 'K20 Pro',
    'sms': "",
    'systemType': 'android',
    'telephoneInfo': '9',
    'telephoneModel': 'Redmi K20 Pro',
    'mobile': phone,
    'wanxiaoVersion': "10525101"
}
